import java.util.Scanner;

public class Text2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (true){
            System.out.println("请输入 x 的值：");
            int x = scanner.nextInt();
            System.out.println("请输入 y 的值：");
            int y = scanner.nextInt();
            Date date = new Date(x,y);
            System.out.println(date.getX() + date.getY());
        }
    }
}
class Date{
    private int x;
    private int y;

    public Date(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
